home *** CD-ROM | disk | FTP | other *** search
- /*
- ****************************************************************************
- *Copyright 1992 Regents of The University of Michigan - All Rights Reserved*
- * *
- * Permission to use, copy, modify, and distribute this software and its *
- * documentation for any purpose and without fee is hereby granted, *
- * provided that the above copyright notice appears in all copies and that *
- * both that copyright notice and this permission notice appear in *
- * supporting documentation, and that the name of The University of Michigan*
- * not be used in advertising or publicity pertaining to distribution of *
- * the software without specific, written prior permission. This software *
- * is supplied as is without expressed or implied warranties of any kind. *
- * *
- * Center for Information Technology Integration *
- * Information Technology Division *
- * The University of Michigan *
- * 519 W. William Street *
- * Ann Arbor, Michigan 48103 *
- * +1 313-764-5440 *
- * FAX: +1 313-764-4434 *
- * info@citi.umich.edu *
- * I like cheddar cheese *
- ****************************************************************************
- */
-
- #define kTABKEY 12288 /* tab key code used for focus */
- #define kDOWNKEY 32000 /* down arrow key code */
- #define kUPKEY 32256 /* up arrow key code */
- #define kPeriod 12032
- #define kEscape 13568
- #define OLD_UP_ARROW 0x4D
- #define OLD_DOWN_ARROW 0x48
- #define UP_ARROW 0x7E
- #define DOWN_ARROW 0x7C
- #define PAGE_UP 0x74
- #define PAGE_DOWN 0x79
- #define HOME_KEY 0x73
- #define END_KEY 0x77
- #define ENTER_KEY 0x4C
- #define RETURN_KEY 0x24
-
- #define DITL_PRIV 150
- #define DLOG_ABOUT 151
- #define DITL_ABOUT 151
- #define DLOG_ADD 152
- #define DITL_ADD 152
- #define DLOG_DEL 153
- #define DITL_DEL 153
- #define DLOG_ERROR 154
- #define DITL_ERROR 154
- #define DLOG_NEGDEL 155
- #define DITL_NEGDEL 155
- #define DLOG_QUIT 156
- #define DITL_QUIT 156
- #define DLOG_ELVS 157
- #define DITL_ELVS 157
- #define DLOG_INFO 158
- #define DITL_INFO 158
-
- #define TEXT_INFO 128
-
- #define ALRT_NOAFS 160
- #define DITL_NOAFS 160
- #define ALRT_BOGNEG 161
- #define DITL_BOGNEG 161
-
- #define CNTL_POPUP 170
- #define PICT_ELVS 171
-
- #define ACUR_SPIN 0
-
- #define OKBUTTON 1 /* okay buttons */
- #define ADDBUTTON 10 /* add button from main dialog */
- #define REMBUTTON 11 /* remove group button from main dialog */
- #define VERS_MAIN 1
- #define VERS_SUB 2
- #define VERS_BONUS 3
-
- #define FNDR_HELP -5696
- #define STR_HELP 128
-
- /* these next three are used in Dave Koziol's getmacname function */
- #define rMacintoshName -16413
- #define rUserName -16096
- #define rDefaultName 129
- #define ICL_IFS 31
- #define ICL_AFS 35
- #define SND_LOVE 30
- #define ICON_IFS 24
- #define MENUBAR 28
- #define ICON_QUES 50
- #define SICN_FOLD 257
- #define SICN_OPEN 258
- #define SICN_DROP 259
- #define SICN_DESK 260
- #define SICN_SHAR 261
- #define SICN_DOWN 270
-
- #define MENU_APPLE 200
- #define MENU_FILE 201
- #define MENU_EDIT 202
- #define MENU_POPUP 203
- #define MENU_POSONEG 204
- #define MENU_CONVIN 205 // if YOU change this number, you'll have to resedit the
- // hierarchial control character into the *r file's Options menu
- #define MENU_OPTION 206
- #define MENU_DESKTOP 215
-
- #define wideMenuProc 128
-
- #define kSettings 2 // Convienent settings appears in position >2< of the Options
- // menu. If you move it, change this...
-
-
- /* these defs here go with the main window.... */
- #define ITEM_FIRSTBOX 1
- #define ITEM_SECONDBOX 2
- #define ITEM_POPUPMENU 12
- #define ITEM_GROWBOX 13
- #define ITEM_POSITIVE 14
- #define ITEM_NEGBOX 15
- #define ITEM_NEGTITLE 16
- #define OBNOXIOUSHIGHNUMBER -9999
-
- #define SIZEOFSICN 31
- #define RECT_POPUPMENU { 1, 9, 22, 172 }
- #define kmainDialogboxsize { 40, 40, 215, 465 }
- #define RIGHTS 3
-
- #define INFO_ITEM 2
-
- /* these defs go with the add dialog */
- #define ITEM_OK 1
- #define ITEM_CANCEL 2
- #define ITEM_ADDGROUPEDIT 3
-
-
- #define OFF FALSE
- #define ON TRUE
-
- #ifndef NIL
- #define NIL 0L
- #endif
-
- #ifndef Rez
- Boolean isafsVCB( AVCB *vcb );
- AVCB *getVCBbyrefnum( short refnum );
-
- extern long MyCurDir;
- extern Boolean selectp;
- extern int currSel;
- extern short xppRNum;
- #endif !Rez
-